<template>
  <div class="_header-content">
    <el-row>
      <el-col :span="6">
        <div class="el-page-header__title">
          <slot name="title">{{title}}</slot>
        </div>
      </el-col>
      <el-col :span="18" class="_header-operation-sys">
        <slot name="content">{{content}}</slot>
      </el-col>
    </el-row>
  </div>
</template>

<script>
  export default {
    name: 'my-header',
    props: {
      title: {
        type: String
      },
      content: String
    }
  };
</script>
<style lang="scss" scoped>
  ._header-content{
    & *{
      margin: 0;
      box-sizing: border-box;
      overflow-y: hidden;
    }
    & ._header-operation-sys{
      line-height: 45px;
      padding-right: 30px;
      text-align: right;
    }
  }
</style>
